package com.ozo.easy.common.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * token信息
 *
 * @author ozo
 * @date 2024-12-26
 */
@Schema(description = "token信息")
@Data
public class AccessToken implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 访问令牌
     */
    @Schema(description = "访问令牌")
    private String token;

    /**
     * 有效期
     */
    @Schema(description = "有效期")
    private Long expires;

}
